<!DOCTYPE html >
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8" />
    <meta name="description" content="U联赛是中国大学生" />
    <meta name="Keyword" content="U联赛，大学生篮球联赛，大学篮球，篮球联赛" />
<title>个人数据</title>
<link rel="stylesheet" type="text/css"
	href="../../../admin/site/common/css/global.css" />
<script type="text/javascript"
	src="../../../admin/site/common/js/jquery-1.11.1.min.js"></script>

</head>
<body>
	<div class="page">
		<div class="toper">
		</div><!--顶部广告banner-->
		<div class="header" id="header">
			<input id="sessionWeixin" type="hidden" th:value="${session.indexWeixin}"/>
			<input id="sessionFans" type="hidden" th:value="${session.indexFans}"/>
			<input id="sessionUser" type="hidden" th:value="${session.user==null?'1':'2'}"/>
			<input id="sessionUserName" type="hidden" th:if="${session.user!=null &amp;&amp; session.user.userName != null}" th:value="${session.user.userName}"/>		
		</div><!--复合导航栏-->
		<div class="bodymain dpmain">
			<div class="bdsharebuttonbox quicklink" id="fenxiang">
				<!-- 此处分享代码 -->
			</div>
			
			
			<input type="hidden" id="seasonId" th:value="${seasonId}"/>
			<input type="hidden" id="zoneId" th:value="${zoneId}"/>
			<input type="hidden" id="cityId" th:value="${cityId}"/>
			<input type="hidden" id="schoolId" th:value="${schoolId}"/>
			<input type="hidden" id="teamId" th:value="${teamId}"/>
			<ul class="tabnav">
				<li class="tab first tabon " id="personal-Data">个人数据</li>
				<li class="tab " id="team-Data">球队数据</li>
				<li class="tabblank"></li>
			</ul>
			
			<div class="dp-high">个人数据</div>
			<div class="greynav">
				<div class="sellabel sellabellight">赛季:</div>
				<div class="selone">
					<!-- <select  id="brandId" name="brandId" style="margin-top:5px;">
                        <option  value=" " >请选择</option>
                        <option th:each="seasonName:${seasons}"  th:value="${seasonName.id}" th:text="${seasonName.name}"></option>
                    </select> -->
					<div class="sellight" id="season_sel" value=" ">请选择</div>

					<!-- <ul class="selul selulight">
						<li th:each="seasonName:${seasons}">
						<span
							th:text="${seasonName.name}" th:value="${seasonName.id}"
							th:id="${seasonName.id}" class="querySeasonId"></span> 
							
					<input type="hidden" th:id="'seasonId-'+${seasonName.id}" th:value="${seasonName.id}" /></li>
							
							

					</ul> -->
					
					<ul class="selul selulight">
						<li th:each="seasonName:${seasons}" th:text="${seasonName.name}" 
							th:value="${seasonName.id}" th:id="${seasonName.id}" 
							class="querySeasonId">
						</li>
					</ul>
				</div>

				<!-- <input type="hidden" id="query_zoneId" name="zoneId" th:value="${city.zoneId}" /> 
				<input type="hidden" id="query_cityId" name="cityId" th:value="${school.cityId}" /> 
				<input type="hidden" id="query_schoolId" name="schoolId" th:value="${team.schoolId}" />
				<input type="hidden" id="query_teamId" name="teamId" th:value="${player.teamId}" />
 -->

				<div class="sellabel sellabellight">赛区:</div>
				<div class="selone">
					<div class="sellight" id="zone_sel">请选择</div>
					<ul class="selul selulight">
						<li th:each="zoneName:${zones}" th:text="${zoneName.name}"
							th:value="${zoneName.id}" th:id="${zoneName.id}"
							class="queryZoneId">
						</li>
					</ul>
				</div>
				<div class="sellabel sellabellight">城市:</div>

				<div class="selone">

					<div class="sellight" id="city_sel">请选择</div>
					<ul class="selul selulight" id="cityUi">
						<li></li>
					</ul>
				</div>
				<div class="sellabel sellabellight">学校:</div>
				<div class="selone">
					<div class="sellight sellong" id="school_sel">请选择</div>
					<ul class="selul selulight selulightlong" id="schoolUi">
						<li></li>
					</ul>
				</div>
				<div class="sellabel sellabellight">球队:</div>
				<div class="selone">

					<div class="sellight" id="team_sel">请选择</div>
					<ul class="selul selulight" id="teamUi">
						<li></li>
					</ul>
				</div>
				<button class="red-btn dp-search" id="dp-search">查询</button>
			</div>
			<table class="tablenav img-table dp-table">
				<thead>
					<tr>
						<td>照片</td>
						<td>姓名</td>
						<td>位置</td>
						<td>号码</td>
						<td>身高</td>
						
						<td>篮板</td>
						<td>抢断</td>
						<td>助攻</td>
						<td>封盖</td>
						<td>失误</td>
						<td>犯规</td>
						<td>罚球</td>
						<td>2分</td>
						<td>3分</td>
						<td>总得分</td>
						<td>总命中率</td>
						<td>历史数据</td>
					</tr>
				</thead>
				<tbody>
					<tr th:each="player:${playerList}">
						<td><img th:src="${player.url}" /></td>
						<td th:text="${player.name}"></td>
						
						<td>
						   <span th:if="${player.position==1}">PG</span>
                              <span th:if="${player.position==2}">SG</span>
                              <span th:if="${player.position==3}">PF</span>
                              <span th:if="${player.position==4}">SF</span>
                              <span th:if="${player.position==5}">C</span>
						</td>
						<td th:text="${player.playerNo}"></td>
						<td th:text="${player.stature}"></td>
						
						<td th:text="${player.averageBackboard}"></td>
						<td th:text="${player.averageSteals}"></td>
						<td th:text="${player.averageAssistsAsts}"></td>
						<td th:text="${player.averageCapping}"></td>
						<td th:text="${player.averageFault}"></td>
						<td th:text="${player.averageFoul}"></td>

						<td th:text="${player.averageFreeThrow}"></td>
						<td th:text="${player.twoPointsHit}"></td>
						<td th:text="${player.threePointsHit}"></td>
						<td th:text="${player.totalScore}"></td>
						<td th:text="${player.totalHit+'%'}"></td>
						<td><a href="#" class="queryPlayer" th:id="${player.playerId}">历史数据</a></td>
					</tr>

				</tbody>
			</table>
			<div class="mainbottomblank"></div>
		</div>
		<!--data person-->
		<div class="footer  unblanfoot" id="footer" th:utext="${session.indexFooter}">
			
		</div>
		<!--页面底部-->
	</div>
</body>
<script type="text/javascript" src="../../../admin/site/common/js/header.js"></script>
<script type="text/javascript" src="../../../admin/js/personalDateList.js"></script>
	
<script type="text/javascript">
	$(function(){
		$("#nav-data").attr("class","nav-clickon");
		
	});

	$(".personalData").click(function(){
		var id=$("#team_id").val();
		window.location.href = "/playerDate/personalDateHistoryList.html?id="+id;
		
	});
	
	$(".teamData").click(function(){
		var id=$("#team_id").val();
		window.location.href = "/teamDate/teamDateHistoryList.html?id="+id;
		
	});
	
</script>
</html>
